package com.example.mapper;

import com.example.entity.po.Notification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NotificationMapper {
    //查看所有通知
    List<Notification> queryNotification();
    //增加通知
    int addNotification(Notification notification);
    //删除通知
    int deleteNotification(int id);
    //对通知进行模糊查询
    List<Notification> fuzzyNotification(String noticeTitle);
}
